package biz;

import dao.ShopDao;

import java.util.List;
import java.util.Map;

public class ShopBiz {
    private ShopDao dao= new ShopDao();
    // 查询
//    public Map<String, Object> cardquery(String page,String type){
//        return dao.cardquery(page,type);
//    }
    public List<Map<String, Object>> indexquery(){return dao.indexquery();}
    public List<Map<String, Object>> search(String text){
        return dao.search(text);
    }
    public Map<String, Object> dialogquery(String goodsname){
        return dao.dialogquery(goodsname);
    }
    public Map<String, Object> searchquery(String page,String company,String type,String order){
        return dao.searchquery(page, company, type, order);
    }
    public Map<String, Object> phonequery(String page){
        return dao.phonequery(page);
    }
    public Map<String, Object> comquery(String page){
        return dao.comquery(page);
    }
    public Map<String, Object> earquery(String page){
        return dao.earquery(page);
    }
    public Map<String, Object> otherquery(String page){
        return dao.otherquery(page);
    }
}
